Skip to content

[7.x] [ML][Transforms] remove force flag from _start (#46414)#46748

Merged
benwtrent merged 2 commits intoelastic:7.xfrom
benwtrent:backport/7.x/pr-46414
Sep 18, 2019
Merged

[7.x] [ML][Transforms] remove force flag from _start (#46414)#46748
benwtrent merged 2 commits intoelastic:7.xfrom
benwtrent:backport/7.x/pr-46414

Conversation

@benwtrent
Copy link
Copy Markdown
Member

@benwtrent benwtrent commented Sep 16, 2019

Backports the following commits to 7.x:

It no longer makes sense to include a force flag for our _start api.

If a failure occurs, a much safer path is to _stop?force=true and then call _start again. This allows for better clean up of resources and safer run-time guarantees.

The flag was not ever added to our docs or the HLRC.

* [ML][Transforms] remove `force` flag from _start

* fixing expected error message
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core

@benwtrent
Copy link
Copy Markdown
Member Author

run elasticsearch-ci/default-distro

@benwtrent benwtrent merged commit 9cf9c64 into elastic:7.x Sep 18, 2019
@benwtrent benwtrent deleted the backport/7.x/pr-46414 branch September 18, 2019 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants